package com.jiegui.business.service.impl;

import java.util.List;
import com.jiegui.common.utils.DateUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.jiegui.business.mapper.AreaInfoMapper;
import com.jiegui.business.domain.AreaInfo;
import com.jiegui.business.service.AreaInfoService;

/**
 * 展区信息Service业务层处理
 * 
 * @author wuqicheng
 * @date 2024-11-20
 */
@Service
public class AreaInfoServiceImpl extends ServiceImpl<AreaInfoMapper, AreaInfo> implements AreaInfoService
{
    @Resource
    private AreaInfoMapper areaInfoMapper;

    /**
     * 查询展区信息
     * 
     * @param id 展区信息主键
     * @return 展区信息
     */
    @Override
     public AreaInfo selectAreaInfoById(String id)
    {
        return areaInfoMapper.selectById(id);
    }

    /**
     * 查询展区信息列表
     * 
     * @param areaInfo 展区信息
     * @return 展区信息
     */
    @Override
    public List<AreaInfo> selectAreaInfoList(AreaInfo areaInfo)
    {
        return areaInfoMapper.selectAreaInfoList(areaInfo);
    }

    /**
     * 新增展区信息
     * 
     * @param areaInfo 展区信息
     * @return 结果
     */
    @Override
    public  int insertAreaInfo(AreaInfo areaInfo)
    {
        return areaInfoMapper.insert(areaInfo);
    }

    /**
     * 修改展区信息
     * 
     * @param areaInfo 展区信息
     * @return 结果
     */
    @Override
    public  int updateAreaInfo(AreaInfo areaInfo)
    {

        return areaInfoMapper.updateById(areaInfo);
    }




}
